Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Raw • View renderedDownload


docs/agents/skills/test-loop/SKILL.md dev (af76f09d) Text, 1.32 KB

Tc9d1d9# Skill: test-loop

Focused verification with task/uv/pnpm without hanging shells.

Tc9d1d9# MeshChatX Test Loop

Tc9d1d9## Default order

Tff7b721. Lint/format only the touched surface if needed
Tff7b722. Focused unit tests for changed files
Tff7b723. Broader suite only if asked or if cross-cutting

Tc9d1d9## Preferred commands

Ta5d6ff```Ta5d6ffbash
T8b949e# Backend focused
uv run pytest tests/backend/test_<name>.py -q --tbTff7b72=short

T8b949e# Frontend focused
pnpm Tffa657exec vitest run tests/frontend/<Name>.test.js

T8b949e# Quick regression
task test:quick

T8b949e# Extended Edge Case Tester / Live Validation
task test:eect
task test:lv:l0
Te6edf3MESHCHAT_LIVE_VALIDATIONTff7b72=T79c0ff1 task test:lv

T8b949e# Broader
task test:backend
task test:frontend
Ta5d6ff```

Tc9d1d9## Anti-hang rules

Tff7b72- Do not pipe long pytest runs through Ta5d6ff`| tail` in agent shells (blocks until process ends).
Tff7b72- Prefer Ta5d6ff`--tb=short` / Ta5d6ff`-q` and explicit file lists.
Tff7b72- Skip or isolate Ta5d6ff`long_running` / notification soak tests unless explicitly requested.
Tff7b72- Landlock apply tests: always subprocess.

Tc9d1d9## After UI edits

Ta5d6ff```Ta5d6ffbash
pnpm Tffa657exec eslint <changed.vue> --fix
pnpm Tffa657exec vitest run tests/frontend/<related>.test.js
Ta5d6ff```

Tc9d1d9## After identity / Landlock edits

Run the matching skill's verification section before claiming done: Ta5d6ff`landlock-sqlite` for the full Landlock/SQLite/AppContainer command set, Ta5d6ff`identity-switch-teardown` or Ta5d6ff`identity-restore` for identity flows.


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────